<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>修改字典类别</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/demo.css" type="text/css"/>
  	<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/style.css" type="text/css"/>
  	<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/jquery-1.9.1.min.js"></script>
  </head>
  
  <body>
     <form id="myForm" name="myForm" method="post" action="<%=request.getContextPath()%>/baseinfoKind!updateBaseinfoKind.action" class="myform"
    	 suc_url="<%=request.getContextPath() %>/baseinfoKind!baseinfoKindList.action">
    		<table  style="width: 1000px;" >
	 			<tr>
		 			<td>编码：</td>
		 			<td style="width: 200px;"><input  id="classid" name="classid"  type="text" value="${request.resultMap.baseinfoKind.classid}" readonly="readonly"/></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 		 	<tr>
		 			<td>名称：</td>
		 			<td>
	 					<input  id="classname" name="classname"  type="text"  class="inputxt" datatype="*" errormsg="名称不能为空!" value="${request.resultMap.baseinfoKind.classname}"/>
		 			</td>
		 				<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>级别：</td>
		 			<td>
		 				<select name="classlv" id="classlv" >
		 				<option value="3" <c:if test="${request.resultMap.baseinfoKind.classlv==3}">selected="selected"</c:if>>用户  </option>
		 					<option value="0" <c:if test="${request.resultMap.baseinfoKind.classlv==0}">selected="selected"</c:if>>全系统 </option>
		 					<option value="1" <c:if test="${request.resultMap.baseinfoKind.classlv==1}">selected="selected"</c:if>>子系统</option>
		 					<option value="2" <c:if test="${request.resultMap.baseinfoKind.classlv==2}">selected="selected"</c:if>>单位 </option>
		 					
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>排序：</td>
		 			<td><input  id="orderid" name="orderid"  type="text" class="inputxt" value="${request.resultMap.baseinfoKind.orderid}" ignore="ignore" datatype="n" errormsg="请输入数字排
		 			序!" /></td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>标记：</td>
		 			<td>
		 				<select name="flag" id="flag">
		 					<option value="-1" <c:if test="${request.resultMap.baseinfoKind.flag==-1}">selected="selected"</c:if>>无状态 </option>
		 					<option value="0"  <c:if test="${request.resultMap.baseinfoKind.flag==0}">selected="selected"</c:if>>无期限</option>
		 					<option value="1"  <c:if test="${request.resultMap.baseinfoKind.flag==1}">selected="selected"</c:if>>有期限</option>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td colspan="3"  > 
			 			<input id="btn_sub" value="提交" class="ajaxpost" type="submit"/> 
			 			<input value="重置"  type="reset" />
		 			</td>
	 			</tr>
 			</table>
    	</form>
    <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/jquery.form.js"></script>
  	<script type="text/javascript"  src="<%=request.getContextPath() %>/resources/validform/js/Validform_v5.3.2.js"></script>
  	<script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/common.js"></script>
  	<script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/opform.js"></script>
  </body>
</html>
